import {createBrowserRouter, RouterProvider} from "react-router-dom";
import Home from "@pages/home";
import Login from "@pages/login";


export const router = createBrowserRouter([
    {path:"",element:<Home />},
    {path:"/login",element:<Login />},
])
export default function AppRouter(){
    return <RouterProvider router={router} />
}